package com.itheima.mapper;

<<<<<<< HEAD
<<<<<<< HEAD
=======
>>>>>>> cheng
import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    User findByUsername(@Param("username") String username);
<<<<<<< HEAD
=======
import com.itheima.pojo.Menu;
import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    User findByUsername(@Param("username") String username);



    List<User> findAllUser(@Param("queryString") String queryString);

    void deleteUserAndRoleByUserId(@Param("id") Integer id);

    void updateUser(User user);

    void addUserAndRoleByUserId(@Param("id") Integer id, @Param("roleIds") Integer[] roleIds);

    void deleteUserByUserId(@Param("id") Integer id);

    void addUser(User user);

>>>>>>> zhao
=======
>>>>>>> cheng
}
